// Copyright (c) Microsoft Corporation.  All rights reserved.

#include "stdafx.h"
#include "DXGIAdapter1.h"

using namespace Microsoft::WindowsAPICodePack::DirectX::DXGI;

AdapterDescription1^ Adapter1::GetDescription1()
{
    AdapterDescription1^ desc = gcnew AdapterDescription1();
    CommonUtils::VerifyResult(GetInterface<IDXGIAdapter1>()->GetDesc1(desc->nativeObject.Get()));
    return desc;
}

